// 默认从0开始取值 也可以指定值 指定值后面的元素按指定值递增
enum Type {
  String,
  Number = 12,
  Null,
  Undefined,
  BigInt,
  Boolean,
  Symbol
}
// 常量枚举
const enum Direction {
  Top = 'Top',
  Bottom = 'Bottom',
  Left = 'Left',
  Right = 'Right'
}
/**
var Type;
(function (Type) {
    Type[Type["String"] = 0] = "String";
    Type[Type["Number"] = 12] = "Number";
    Type[Type["Null"] = 13] = "Null";
    Type[Type["Undefined"] = 14] = "Undefined";
    Type[Type["BigInt"] = 15] = "BigInt";
    Type[Type["Boolean"] = 16] = "Boolean";
    Type[Type["Symbol"] = 17] = "Symbol";
})(Type || (Type = {}));
 */

console.log(Type.Symbol)
console.log(Type[0])